package com.zhangtai.modules.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-06-28 20:46:06
 */
@Data
public class SalaryBandVo implements Serializable {
	private static final long serialVersionUID = 1L;


			/**
		 * 体系
		 */
			@NotNull(message = "体系id不能为空")
			@ApiModelProperty(value="体系id,读 /salary/getOrgSystem 接口获取",required = true)
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long orgSystemId;

	@ApiModelProperty(value="体系名称，读 /salary/getOrgSystem 接口获取",required = true)
	private String orgSystemName;
			/**
		 * 条线
		 */
			@NotNull(message = "条线id不能为空")
			@ApiModelProperty(value="条线id，读 /salary/getOrgLine 接口获取",required = true)
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long orgLineId;

	@ApiModelProperty(value="条线名称，读 /salary/getOrgLine 接口获取",required = true)
	private String orgLineName;
			/**
		 * 级别
		 */

			@ApiModelProperty(value="职级，查询 /job/findJobLevel 接口获取",required =true)
			private String jobLevel;


			@NotNull(message = "职级id不能为空")
			@ApiModelProperty(value="职级，查询 /job/findJobLevel 接口获取",required = true)
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long jobLevelId;
			/**
		 * 一档薪水
		 */
			@NotNull(message = "一档薪水不能为空")
			@ApiModelProperty(value="一档薪资",required = true)
			private BigDecimal salaryLevel1;
			/**
		 * 二挡薪水
		 */
			@NotNull(message = "二档薪水不能为空")
			@ApiModelProperty(value="二档薪资",required = true)
			private BigDecimal salaryLevel2;
			/**
		 * 三挡薪水
		 */
			@NotNull(message = "三档薪水不能为空")
			@ApiModelProperty(value="三档薪资",required = true)
			private BigDecimal salaryLevel3;




			@ApiModelProperty(value="排序",required = false)
			private Integer sort;



	
}
